package com.company.cloud.tenant.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

public class TenantConstant {
    /** 租户状态 */
    public enum TenantState implements BaseCodeEnum {
        CS_Ing("1", "申请中"),
        CS_Fail("2", "审核失败"),
        CS_Open("3", "开通"),
        CS_Frozen("4", "冻结"),
        CS_Overdue("9", "过期"),;
        private String code;
        private String msg;
        private TenantState(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {
            return code;
        }
        @Override
        public String getMsg() {
            return msg;
        }
    }

}
